var PLAYER_TYPE={
    HOST:1,
    CHALLENGER:2
};

var ACTION_TYPE = {
    ATTACK : 0,
    DEFENSE : 1,
    DAMAGE : 2,
    DEAD : 3,
    RECOVER :4,
    GUARD:5,
    DRAW:6,
    SET_BUFFER:7,
    CANCEL_BUFFER:8,
    DODGE:9,
    COUNTER:10,
};

function Action(type,params){
    this.type = type;
    this.params = params;
}

module = module || {};
module.exports = {
    "PLAYER_TYPE":PLAYER_TYPE,
    "ACTION_TYPE":ACTION_TYPE,
    "Action":Action
}